package com.sojson.base.impl;

import java.util.Date;
import java.util.List;
import java.util.Map;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 基础Bean
 * 
 * @author liu
 * @date 2020-11-02
 */
@Data
@ApiModel("基础实体类")
public class BaseDto extends Base {

    /**
     * 
     */
    private static final long serialVersionUID = 1L;

    /** 第几页 */
    @ApiModelProperty(value = "第几页", position = 0)
    private Integer pageNum;
    /** 每页显示记录数 */
    @ApiModelProperty(value = "每页显示记录数", position = 0)
    private Integer pageSize;
    /** 排序字段(格式: 字段名1 asc/desc, 字段名2 asc/desc) (asc为升序,desc为降序) */
    @ApiModelProperty(value = "排序字段(格式: 字段名1 asc/desc, 字段名2 asc/desc) (asc为升序,desc为降序)", position = 0)
    private String orderByColumn = "";
    /** 排序字段 */
    @ApiModelProperty(value = "排序字段", hidden = true)
    private List<Integer> searchSort;
    /** 排序字段升序还是降序(1:升序,2:降序) */
    @ApiModelProperty(value = "排序字段升序还是降序(1:升序,2:降序)", hidden = true)
    private List<Integer> ascOrDesc;
    /** 距离 */
    @ApiModelProperty(value = "距离", hidden = true)
    private Long baseDist;
    /** 开始时间 */
    @ApiModelProperty(value = "开始时间", hidden = true)
    private Date beginTime;
    /** 结束时间 */
    @ApiModelProperty(value = "结束时间", hidden = true)
    private Date overTime;
    /** 不查状态 */
    @ApiModelProperty(value = "不查状态", hidden = true)
    private Integer statusNo = 2;
    /** 接收截图文件的数组 */
    @ApiModelProperty(value = "接收截图文件的数组", hidden = true)
    private byte[] bytes;
    /** 任意表主键 继承此类后不需要在子类中再次定义ID 统一用此ID */
    @ApiModelProperty(value = "ID", position = 0)
    private String id;
    /** 任意表编号 继承此类后不需要在子类中再次定义编号 统一用此编号 */
    @ApiModelProperty(value = "编号", position = 0)
    private String no;
    /** 创建者ID */
    @ApiModelProperty(value = "创建者ID", hidden = true)
    private String createBy;
    /** 创建时间 */
    @ApiModelProperty(value = "创建时间", hidden = true)
    private Date createTime;
    /** 更新者ID */
    @ApiModelProperty(value = "更新者ID", hidden = true)
    private String updateBy;
    /** 更新时间 */
    @ApiModelProperty(value = "更新时间", hidden = true)
    private Date updateTime;
    /** 备注 */
    @ApiModelProperty(value = "备注", hidden = true)
    private String remark;
    /** 请求参数 */
    @ApiModelProperty(value = "请求参数", hidden = true)
    private Map<String, Object> params;

}